package com.aoyebobi;

import java.awt.*;

/**
 * @Description  窗口
 * @Author aoyebobi
 * @Date 2024-09-04
 */

public class FirstFrame extends Frame {
    public static void main(String[] args) {
        FirstFrame fr = new FirstFrame("Hello");
        fr.setSize(300, 200);
        fr.setBackground(Color.BLUE);
        fr.setVisible(true);

    }

    public FirstFrame(String str){
        super(str);
    }
}
